package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author baiqiang
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "MultiAssistRecord对象", description = "")
public class MultiAssistRecord implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.UUID)
	private String id;

	@ApiModelProperty(value = "天天帮ID")
	private String assistId;

	@ApiModelProperty(value = "来源操作记录ID")
	private String fkRecordId;

	/** 1总部 2代理商 3机构 4工作室 5老师 6学生 */
	@ApiModelProperty(value = "1总部2代理商3机构4工作室5老师6学生")
	private String subject;

	@ApiModelProperty(value = "分配类型1增加2减少")
	private String type;

	@ApiModelProperty(value = "学生ID")
	private String studentId;

	@ApiModelProperty(value = "老师ID")
	private String teacherId;

	@ApiModelProperty(value = "代理商ID")
	private Integer optId;

	@ApiModelProperty(value = "机构ID")
	private Integer orgId;

	private Integer monthly;

	private Integer duration;

	@ApiModelProperty(value = "计时开始")
	private LocalDateTime startTime;

	@ApiModelProperty(value = "计时结束")
	private LocalDateTime endTime;

	@ApiModelProperty("作用域 1 member(前台);2 sysuser（后台）")
	private String scope;

	@ApiModelProperty(value = "订单ID")
	private Long orderNo;
	@ApiModelProperty(value = "0-正常，1-删除")
	private String delFlag;

	@ApiModelProperty(value = "创建人")
	private String createUser;

	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新人")
	private String updateUser;

	@ApiModelProperty(value = "更新时间")
	private LocalDateTime updateTime;


}
